using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class BsOutorderTable : TableInfo
{
public const string C_TABLENAME = "Bs_Outorder";

public const string C_BILLID = "BILLID";

public const string C_BILLDATE = "BILLDATE";

public const string C_WORKORDERNO = "WORKORDERNO";

public const string C_SCHEDULEID = "SCHEDULEID";

public const string C_OUTPROCESSID = "OUTPROCESSID";

public const string C_SUPPLIERID = "SUPPLIERID";

public const string C_BACKMATERIALID = "BACKMATERIALID";

public const string C_BACKMATERIALNAME = "BACKMATERIALNAME";

public const string C_BACKNUMS = "BACKNUMS";

public const string C_PROCESSCOST = "PROCESSCOST";

public const string C_ISFINISH = "ISFINISH";

public const string C_STATUS = "STATUS";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEUSERNAME = "CREATEUSERNAME";

public const string C_MODIFYDATE = "MODIFYDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";

public const string C_SCHEDULEDETAILID = "SCHEDULEDETAILID";

public const string C_OUTORDERNUM = "OUTORDERNUM";

public const string C_BACKORDERNUM = "BACKORDERNUM";

public const string C_BACKPROCESSID = "BACKPROCESSID";

public BsOutorderTable()
{
_tableName = "Bs_Outorder";
}

protected static BsOutorderTable _current;
public static BsOutorderTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new BsOutorderTable();

_current.Add(C_BILLID, new ColumnInfo(C_BILLID, "", true, typeof(String)));

_current.Add(C_BILLDATE, new ColumnInfo(C_BILLDATE, "", false, typeof(DateTime?)));

_current.Add(C_WORKORDERNO, new ColumnInfo(C_WORKORDERNO, "", false, typeof(String)));

_current.Add(C_SCHEDULEID, new ColumnInfo(C_SCHEDULEID, "", false, typeof(String)));

_current.Add(C_OUTPROCESSID, new ColumnInfo(C_OUTPROCESSID, "", false, typeof(String)));

_current.Add(C_SUPPLIERID, new ColumnInfo(C_SUPPLIERID, "", false, typeof(String)));

_current.Add(C_BACKMATERIALID, new ColumnInfo(C_BACKMATERIALID, "", false, typeof(String)));

_current.Add(C_BACKMATERIALNAME, new ColumnInfo(C_BACKMATERIALNAME, "", false, typeof(String)));

_current.Add(C_BACKNUMS, new ColumnInfo(C_BACKNUMS, "", false, typeof(Decimal?)));

_current.Add(C_PROCESSCOST, new ColumnInfo(C_PROCESSCOST, "", false, typeof(Decimal?)));

_current.Add(C_ISFINISH, new ColumnInfo(C_ISFINISH, "", false, typeof(String)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String)));

_current.Add(C_SCHEDULEDETAILID, new ColumnInfo(C_SCHEDULEDETAILID, "", false, typeof(Decimal?)));

_current.Add(C_OUTORDERNUM, new ColumnInfo(C_OUTORDERNUM, "", false, typeof(Decimal?)));

_current.Add(C_BACKORDERNUM, new ColumnInfo(C_BACKORDERNUM, "", false, typeof(Decimal?)));

_current.Add(C_BACKPROCESSID, new ColumnInfo(C_BACKPROCESSID, "", false, typeof(String)));

}

public ColumnInfo BILLID
{
get { return this[C_BILLID]; }
}

public ColumnInfo BILLDATE
{
get { return this[C_BILLDATE]; }
}

public ColumnInfo WORKORDERNO
{
get { return this[C_WORKORDERNO]; }
}

public ColumnInfo SCHEDULEID
{
get { return this[C_SCHEDULEID]; }
}

public ColumnInfo OUTPROCESSID
{
get { return this[C_OUTPROCESSID]; }
}

public ColumnInfo SUPPLIERID
{
get { return this[C_SUPPLIERID]; }
}

public ColumnInfo BACKMATERIALID
{
get { return this[C_BACKMATERIALID]; }
}

public ColumnInfo BACKMATERIALNAME
{
get { return this[C_BACKMATERIALNAME]; }
}

public ColumnInfo BACKNUMS
{
get { return this[C_BACKNUMS]; }
}

public ColumnInfo PROCESSCOST
{
get { return this[C_PROCESSCOST]; }
}

public ColumnInfo ISFINISH
{
get { return this[C_ISFINISH]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEUSERNAME
{
get { return this[C_CREATEUSERNAME]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

public ColumnInfo MODIFYUSERNAME
{
get { return this[C_MODIFYUSERNAME]; }
}

public ColumnInfo SCHEDULEDETAILID
{
get { return this[C_SCHEDULEDETAILID]; }
}

public ColumnInfo OUTORDERNUM
{
get { return this[C_OUTORDERNUM]; }
}

public ColumnInfo BACKORDERNUM
{
get { return this[C_BACKORDERNUM]; }
}

public ColumnInfo BACKPROCESSID
{
get { return this[C_BACKPROCESSID]; }
}

}
}